/**
 * 成功状态具体类
 * @author liaosh
 * @date 2022-10-22 22:20
 */
public class Success extends Action {

    String status = "成功";

    @Override
    public void getManConclusion(Man man) {
        System.out.println(man.sex + status + " 时：");
    }

    @Override
    public void getWomanConclusion(Woman woman) {
        System.out.println(woman.sex + status + " 时：");
    }
}
